Skip to content

Conversation

@AntiFrizz1
Copy link

Выполнены задания 1 и 3.1

Для добавления одного письма можно нажать на кнопку "Написать".
Работает выбрать все, происходит выбор всех писем на первой странице.

@vercel
Copy link

vercel bot commented May 4, 2019

This pull request is automatically deployed with Now.
To access deployments, click Details below or on the icon next to each push.

Latest deployment for this branch: https://task-5-git-fork-antifrizz1-master.itmo-yandex.now.sh


import * as styles from './header.module.css';

const headerMail: string = require('../../images/header-mail.svg');
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Кажется там будет не строка. Без указания типа на что ругается?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Не ругается, я просто подумал что то, что передается в src должно иметь тип string

});
};

isLetterHasText = (text: string, letter: LetterType) => {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Одно из условий задачи — чтобы это быстро работало на большом количестве писем. Проверь хотя бы на паре-тройке сотен — браузер подвисает

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants